
<script>
    var option = {
        colModel : [
            {label: 'ID', name: '_id',key:true,width: 100,editable: true, hidden:false,fixed:true,search:true,
                formoptions:{elmsuffix: ' 默认自动生成,不可以修改!!'}
            },
            {label: '游戏名称', name: 'name',width: 200, editable: true, sortable:false,hidden:false,resize:false,fixed:false,search:false},

            {label: '配置服务器', name: 'gcid',width: 100, editable: true, sortable:false,hidden:false,resize:false,fixed:false,search:false},

            {label: '内部秘钥', name: 'secret',width:100, editable: true, sortable:false,hidden:false,resize:false,fixed:false,search:false},
            // {label: '游戏图标', name: 'icon',width: 300, editable: true, sortable:false,hidden:false,resize:false,fixed:true,search:false},
            // {label: '背景图片', name: 'bgimg',width: 280, editable: true, sortable:false,hidden:false,resize:false,fixed:false,search:false,},
        ]
    }
    $(document).ready(function () {
        cosjs_create_jqgrid(option);
        $(grid_selector).jqGrid('navGrid',{
            search:false
        })
    });
</script>
 